﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simhopp.Model
{
    interface InterfaceDiverModel
    {
        void AddDive(int ID, string Name, double Difficulty, string NameCode, int DiveNumber);
        void AddDive(int ID, string Name, double Difficulty, string NameCode, double Score, int DiveNumber);
        void AddScoreAndJudgeIDToJudgeScoreDict(int JudgeID, int DiveNr, double score);
        Dive GetDiveByNumber(int DiveNr);
        Dive GetDive(int ID);
        void RemoveDive(int ID);
        void UpdateDive(int ID, string Name, double Difficulty, string NameCode, double Score, int DiveNumber);
        void CalculateTotalPoints();
        List<Dive> DiveList { get; set; }
        Dictionary<int, double> GetJudgeScoreForDive(int DiveNr);
        void CalculateTotalScoreForDive(int DiveNr);
    }
}
